import React, { Component } from 'react'
import qs from 'querystring'
export default class Detail extends Component {
    render() {
        console.log(this.props.location.search);
        let {title,id} = qs.parse(this.props.location.search.slice(1))
        return (
            <div>
                detail....................{title}
               id时 {id}
            </div>
        )
    }
}
